package com.jp.knowledge.my.model;

import java.util.List;

/**
 * Created by 528787067@qq.com on 2017/5/6.
 */

public class IntegralModel {

    /**
     * dateTime : 1497283200000
     * list : [{"dateTime":1497343457534,"rewardId":"207dd450-4a67-438b-b214-2c250913b452","rewardInfo":null,"rewardType":2,"rewardNum":10,"title":"团队圈打赏"},{"dateTime":1497343452014,"rewardId":"96cd312c-576b-4930-8c5b-06ecdd4e079b","rewardInfo":null,"rewardType":2,"rewardNum":10,"title":"团队圈打赏"},{"dateTime":1497343422185,"rewardId":"674743ae-968a-470c-945d-46173b787441","rewardInfo":null,"rewardType":2,"rewardNum":10,"title":"团队圈打赏"},{"dateTime":1497343416216,"rewardId":"b7a520dd-189d-45da-b5e0-07a7f6ad0d21","rewardInfo":"","rewardType":2,"rewardNum":10,"title":"团队圈打赏"}]
     */

    private long dateTime;
    private List<ListBean> list;

    public long getDateTime() {
        return dateTime;
    }

    public void setDateTime(long dateTime) {
        this.dateTime = dateTime;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * dateTime : 1497343457534
         * rewardId : 207dd450-4a67-438b-b214-2c250913b452
         * rewardInfo : null
         * rewardType : 2
         * rewardNum : 10
         * title : 团队圈打赏
         */

        private long dateTime;
        private long showTime;
        private String rewardId;
        private String rewardInfo;
        private int rewardType;
        private int rewardNum;
        private String title;
        private RelationInfoBean relationInfo;

        public long getDateTime() {
            return dateTime;
        }

        public void setDateTime(long dateTime) {
            this.dateTime = dateTime;
        }

        public long getShowTime() {
            return showTime;
        }

        public void setShowTime(long showTime) {
            this.showTime = showTime;
        }

        public String getRewardId() {
            return rewardId;
        }

        public void setRewardId(String rewardId) {
            this.rewardId = rewardId;
        }

        public String getRewardInfo() {
            return rewardInfo;
        }

        public void setRewardInfo(String rewardInfo) {
            this.rewardInfo = rewardInfo;
        }

        public int getRewardType() {
            return rewardType;
        }

        public void setRewardType(int rewardType) {
            this.rewardType = rewardType;
        }

        public int getRewardNum() {
            return rewardNum;
        }

        public void setRewardNum(int rewardNum) {
            this.rewardNum = rewardNum;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public RelationInfoBean getRelationInfo() {
            return relationInfo;
        }

        public void setRelationInfo(RelationInfoBean relationInfo) {
            this.relationInfo = relationInfo;
        }
    }

    public static class RelationInfoBean{

        /**
         * icon :
         * title :
         * id :
         * type : 1
         * desc :
         */

        private String icon;
        private String title;
        private String id;
        private int type;
        private String desc;

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
}
